﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations;

namespace MVCDemo.Entity.ViewModel
{
    public class ShopEditViewModel
    {
        public int S_ID { get; set; }

        [Required(ErrorMessage = "请输入店铺名称")]
        public string S_Name { get; set; }
   
        [Required(ErrorMessage = "请输入类别")]
        public int? S_Category { get; set; }
       
        [Required(ErrorMessage = "请输入联系人姓名")]
        public string S_ContactName { get; set; }
       
        [Required(ErrorMessage = "请输入联系人电话")]
        public string S_ContactTel { get; set; }
  
        [Required(ErrorMessage = "请输入店铺地址")]
        public string S_Address { get; set; }
    
        [Required(ErrorMessage = "请输入备注")]
        public string S_Remark { get; set; }
      
        [Required(ErrorMessage = "请输入店铺状态")]
        public byte? S_IsHasSetAdmin { get; set; }
     
        [Required(ErrorMessage = "请输入添加时间")]
        public DateTime? S_CreateTime { get; set; }
        
    }
}
